home *** CD-ROM | disk | FTP | other *** search
/ The Ultimate Frank Lloyd…ght - America's Architect / Ultimate Frank Lloyd Wright, The - America's Architect (1994)(Microsoft Home).iso / pre / flw / flweh21.dir / 00144_Script_144 < prev    next >
Text File  |  1994-11-15  |  2KB  |  74 lines

  1. on startMovie
  2.   cursor 4
  3.   global nowFrame, currMM
  4.   set currMM = "FLWWT"
  5.   
  6.   preLoadCast 1,4
  7.   
  8.   puppetSprite 21, TRUE
  9.   puppetSprite 22, TRUE
  10.   puppetSprite 23, TRUE
  11.   puppetSprite 11, TRUE
  12.   set the immediate of sprite 23 to TRUE
  13.   set the stretch of sprite 23 to FALSE
  14. end startMovie
  15.  
  16. on saveLocals
  17.   global lastMovie, lastFrame, nowFrame
  18.   set lastFrame = nowFrame
  19.   set lastMovie = "FLWEH21"
  20. end saveLocals
  21.  
  22. on buttonState
  23.   global FrankNav, bFlag
  24.   
  25.   if rollover(11) then
  26.     set the castNum of sprite 11 to 1086
  27.     if the mouseDown then
  28.       set the castNum of sprite 11 to 1087
  29.     end if
  30.   else 
  31.     set the castNum of sprite 11 to 1085
  32.   end if
  33.   
  34.   if rollover(5) then
  35.     rollCheck
  36.   else 
  37.     set pos = 0
  38.     cursor -1
  39.   end if
  40.   
  41.   if (the mouseV > 200) or (bFlag = TRUE) then
  42.     doState
  43.   end if
  44. end buttonState
  45.  
  46. on rollCheck
  47.   global right, left, forw, down, pos
  48.   if the mouseH>=445 and the mouseH<=536 and the mouseV>65 and the mouseV<305 then
  49.     if right = 1 then
  50.       set pos = 3
  51.       cursor [1065,1066]
  52.     else 
  53.       set pos = 0
  54.       cursor [1071,1072]
  55.     end if
  56.   else if the mouseH>=216 and the mouseH<=307 and the mouseV>65 and the mouseV<305 then
  57.     if left = 1 then
  58.       set pos = 1
  59.       cursor [1069,1070]
  60.     else
  61.       set pos = 0
  62.       cursor [1071,1072]
  63.     end if
  64.   else if the mouseH>=306 and the mouseH<=446 and the mouseV>65 and the mouseV<305 then
  65.     if forw = 1 then
  66.       set pos = 2
  67.       cursor [1067,1068]
  68.     else
  69.       set pos = 0
  70.       cursor [1071,1072]
  71.     end if
  72.   end if
  73. end rollCheck
  74.